<template>
  <div v-if='this.dataSchool.schoolImg'>
    <img style='width: 100%;height: 100%' :src='this.dataSchool.schoolImg'>
  </div>
  <div v-else>
    <img style='width: 100%;height: 100%' src='../../assets/index-beijing02.jpg'>
  </div>

  <!--  <div>-->
  <!--    <a-row :gutter='24'>-->
  <!--      <a-col :span='10' style='float: left'>-->
  <!--        <img style='width: 100%;' :src='this.dataSchool.schoolImg'>-->
  <!--      </a-col>-->
  <!--      <a-col :span='14' style='text-align: center;margin-top: 140px;'>-->
  <!--        <div style='margin-left: 100px;text-align: left;'>-->
  <!--          <h1 style='font-weight: bold;font-size: 30px'>欢迎使用 —— {{ this.dataSchool.schoolName }}成绩分析与排课管理系统</h1>-->
  <!--          <p style='font-size: 20px;'> 系统自动检测资源冲突:排课管理系统合理安排教师资源,教室资源,自动化处理排课冲突和异常,让课程管理和日常排课清晰有序。-->
  <!--          </p>-->
  <!--        </div>-->
  <!--      </a-col>-->
  <!--    </a-row>-->
  <!--    <a-row :gutter='24'>-->
  <!--      <a-col style='margin-top: 20px;'>-->
  <!--        <p style='font-size: 15px;'>&nbsp;&nbsp;&nbsp;&nbsp;{{ this.dataSchool.schoolIntroduce }}-->
  <!--        </p>-->
  <!--        <p>-->
  <!--          &nbsp;&nbsp;&nbsp;&nbsp;学校位于{{this.dataSchool.schoolAddress}}，分{{this.dataSchool.schoolGradeNumber}}个年级、{{this.dataSchool.schoolClassRoomNumber}}个班，-->
  <!--          拥有学生{{this.dataSchool.schoolStudentNumber}}人、{{this.dataSchool.schoolTeacherNumber}}人庞大的师资力量。-->
  <!--          学校官网链接: {{this.dataSchool.schoolLink}}；-->
  <!--          写在最后的话：{{this.dataSchool.schoolRemark}}-->
  <!--        </p>-->
  <!--        <p>-->
  <!--          &nbsp;&nbsp;&nbsp;&nbsp;写在最后的话：{{this.dataSchool.schoolRemark}}-->
  <!--        </p>-->
  <!--      </a-col>-->
  <!--    </a-row>-->
  <!--  </div>-->
</template>

<script>
import ChartCard from '@/components/ChartCard'
import ACol from 'ant-design-vue/es/grid/Col'
import ATooltip from 'ant-design-vue/es/tooltip/Tooltip'
import MiniArea from '@/components/chart/MiniArea'
import MiniBar from '@/components/chart/MiniBar'
import MiniProgress from '@/components/chart/MiniProgress'
import RankList from '@/components/chart/RankList'
import Bar from '@/components/chart/Bar'
import LineChartMultid from '@/components/chart/LineChartMultid'
import HeadInfo from '@/components/tools/HeadInfo.vue'

import Trend from '@/components/Trend'
import { getLoginfo, getVisitInfo } from '@/api/api'
import { getAction, postAction } from '@/api/manage'


export default {
  name: 'IndexChart',
  components: {},
  data() {
    return {
      url: {
        list: '/school/oraSchool/list'
      },
      dataSchool: []
    }
  },
  created() {
    this.getInItSchool();
  },
  methods: {
    getInItSchool() {
      let params = {}
      getAction(this.url.list, params).then(res => {
        if (res.success) {
          this.dataSchool = res.result.records[0]
        } else {
          this.$message.error(res.message)
        }

      })
    }
  }
}
</script>

<style lang='less' scoped>

</style>